<?php
$dtds['edit']['title']['name'] = '模块名称';
$dtds['edit']['tags']['name'] = '模块标签';
$dtds['edit']['page_size']['name'] = '获取分享条数';
$dtds['edit']['position']['name'] = '所在页面';
$dtds['edit']['orderby']['name'] = '显示顺序';

$dtds['edit']['title']['value']['required'] = true;
$dtds['edit']['tags']['value']['required'] = true;
$dtds['edit']['page_size']['value']['required'] = true;
$dtds['edit']['page_size']['value']['mask'] = "/^[0-9]+$/i";
$dtds['edit']['position']['value']['required'] = true;
$dtds['edit']['position']['value']['mask'] = "/^[0-9]+$/i";
$dtds['edit']['orderby']['value']['required'] = true;
$dtds['edit']['orderby']['value']['mask'] = "/^[0-9]+$/i";

$dtds['edit']['title']['message']['required'] = "%s必填项";
$dtds['edit']['tags']['message']['required'] = "%s必填项";
$dtds['edit']['page_size']['message']['required'] = "%s必填项";
$dtds['edit']['page_size']['message']['mask'] = "%s只能是数字";
$dtds['edit']['position']['message']['required'] = "%s必填项";
$dtds['edit']['position']['message']['mask'] = "%s只能是数字";
$dtds['edit']['orderby']['message']['required'] = "%s必填项";
$dtds['edit']['orderby']['message']['mask'] = "%s只能是数字";